/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'

/**
 * 获取自定义页面组件列表
 */
export function queryComponents(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/pageContainerDefined/query',
    method: 'post',
    data
  })
}

// 查询页面登记列表
export function queryFixedPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/pageRegister/queryPage',
    method: 'post',
    data
  })
}

// 查询自定义页面列表
export function queryCustomPageInfo(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/pageContainerInfo/queryPage',
    method: 'post',
    data
  })
}

// 获取系统主题色
export function queryThemeColor(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sys/sysConfig/getByName',
    method: 'post',
    data
  })
}
